Optimal. Leaf size=52 \[ \frac{a^2 x \log (x)}{\sqrt{c x^2}}+\frac{2 a b x^2}{\sqrt{c x^2}}+\frac{b^2 x^3}{2 \sqrt{c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0100162, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {15, 43} \[ \frac{a^2 x \log (x)}{\sqrt{c x^2}}+\frac{2 a b x^2}{\sqrt{c x^2}}+\frac{b^2 x^3}{2 \sqrt{c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 43
Rubi steps
\begin{align*} \int \frac{(a+b x)^2}{\sqrt{c x^2}} \, dx &=\frac{x \int \frac{(a+b x)^2}{x} \, dx}{\sqrt{c x^2}}\\ &=\frac{x \int \left (2 a b+\frac{a^2}{x}+b^2 x\right ) \, dx}{\sqrt{c x^2}}\\ &=\frac{2 a b x^2}{\sqrt{c x^2}}+\frac{b^2 x^3}{2 \sqrt{c x^2}}+\frac{a^2 x \log (x)}{\sqrt{c x^2}}\\ \end{align*}
Mathematica [A] time = 0.0032546, size = 32, normalized size = 0.62 \[ \frac{x \left (2 a^2 \log (x)+b x (4 a+b x)\right )}{2 \sqrt{c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 31, normalized size = 0.6 \begin{align*}{\frac{x \left ({b}^{2}{x}^{2}+2\,{a}^{2}\ln \left ( x \right ) +4\,abx \right ) }{2}{\frac{1}{\sqrt{c{x}^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03481, size = 47, normalized size = 0.9 \begin{align*} \frac{b^{2} x^{2}}{2 \, \sqrt{c}} + \frac{a^{2} \log \left (x\right )}{\sqrt{c}} + \frac{2 \, \sqrt{c x^{2}} a b}{c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56805, size = 78, normalized size = 1.5 \begin{align*} \frac{{\left (b^{2} x^{2} + 4 \, a b x + 2 \, a^{2} \log \left (x\right )\right )} \sqrt{c x^{2}}}{2 \, c x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b x\right )^{2}}{\sqrt{c x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.07069, size = 68, normalized size = 1.31 \begin{align*} -\frac{a^{2} \log \left ({\left | -\sqrt{c} x + \sqrt{c x^{2}} \right |}\right )}{\sqrt{c}} + \frac{1}{2} \, \sqrt{c x^{2}}{\left (\frac{b^{2} x}{c} + \frac{4 \, a b}{c}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]